/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86186
 * Date: 2023-06-25
 * Time: 21:45
 */
public class Main {
    public static void main(String[] args) {
        Test test = new Test();
        int[] gas = {2,3,4};
        int[] cost = {3,4,3};
        System.out.println(test.canCompleteCircuit(gas, cost));
    }
}